<%@ page import="com.opeace.Volunteer" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'volunteer.label', default: 'Volunteer')}" />
		<title><g:message code="default.create.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#create-volunteer" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
                
		
        <h1 style="margin-left: 20%;"><g:message code="default.create.label" args="[entityName]" /></h1>
		<table align = "center" >

                    <tr style="padding-top:0px;padding-bottom:0px;">
                        <td style="padding-top:0px; padding-bottom:0px;" >
                          <h3> Volunteer Information </h3>

				------------------------------------------------------------ <br />
			
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<g:hasErrors bean="${volunteerInstance}">
			<ul class="errors" role="alert">
				<g:eachError bean="${volunteerInstance}" var="error">
				<li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message error="${error}"/></li>
				</g:eachError>
			</ul>
			</g:hasErrors>
			<g:form action="save" >
				<fieldset class="form">
					<g:render template="form"/>
				</fieldset>
				<fieldset>
					<g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" />
				</fieldset>
			</g:form>
                        </td>

		</tr>

	</table>
		
	</body>
</html>
